import request from '@/utils/request'

/**
 * 获取阿里云OSS STS临时访问凭证
 * @returns {Promise<Object>} STS凭证对象，包含accessKeyId、accessKeySecret、securityToken、expiration等字段
 */
export function getStsToken() {
  return request({
    url: '/oss/sts-token',
    method: 'GET'
  })
}